package pers.vic.practice.module.student.model;


import pers.vic.boot.base.handler.json.annotation.AppendJsonField;
import pers.vic.boot.base.model.BaseEntity;
import pers.vic.practice.base.constant.AppendJsonType;

import java.math.BigDecimal;


/**
 * 选课表 实体类
 *
 * @author Vic.xu
 */
public class SCourseSelection extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 学号
     */
    private String number;

    /**
     * 课程id
     */
    private Integer courseId;

    /**
     * 院系
     */
    @AppendJsonField(key = "facultyName", appendType = AppendJsonType.DICT_VALUE_TEXT, otherInfo = "faculty")
    private String faculty;

    /**专业*/
    @AppendJsonField(key = "majorName", appendType = AppendJsonType.DICT_VALUE_TEXT, otherInfo = "major")
    private String major;

    private String studentName;

    @AppendJsonField(key = "termName", appendType = AppendJsonType.DICT_VALUE_TEXT, otherInfo = "term")
    private String term;

    /**课程name*/
    private String courseName;

    /**成绩*/
    private BigDecimal score;

    /**
     * 成绩是否录入
     */
    private Integer inputed;

    /**
     * 班级id
     */
    private Integer classesId;

    /**
     * 班级name
     */
    private String classesName;

    /***************** set|get  start **************************************/
    /**
     * set：学号
     */
    public SCourseSelection setNumber(String number) {
        this.number = number;
        return this;
    }

    /**
     * get：学号
     */
    public String getNumber() {
        return number;
    }

    /**
     * set：课程id
     */
    public SCourseSelection setCourseId(Integer courseId) {
        this.courseId = courseId;
        return this;
    }

    /**
     * get：课程id
     */
    public Integer getCourseId() {
        return courseId;
    }
    /***************** set|get  end **************************************/

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getTerm() {
        return term;
    }

    public void setTerm(String term) {
        this.term = term;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }

    public Integer getInputed() {
        return inputed;
    }

    public void setInputed(Integer inputed) {
        this.inputed = inputed;
    }

    public String getFaculty() {
        return faculty;
    }

    public void setFaculty(String faculty) {
        this.faculty = faculty;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getClassesName() {
        return classesName;
    }

    public void setClassesName(String classesName) {
        this.classesName = classesName;
    }

    public Integer getClassesId() {
        return classesId;
    }

    public void setClassesId(Integer classesId) {
        this.classesId = classesId;
    }
}
